Ext.namespace('system.upload');

system.upload.Demo = function(config) {
	Ext.apply(this, config);
	this.initComponentUI();
	system.upload.Demo.superclass.constructor.call(this);
}

Ext.extend(system.upload.Demo, Ext.Panel, {

	// 初始化组件
	initComponentUI : function() {
		uploadPanel = new Ext.ux.UploadPanel({
				region : 'center',
				title:'文件上传',
				readOnly:false,
				orgCode:'123'
			});
		uploadPanel.load("393,394,395");
		Ext.apply(this, {
			layout : 'border',
			bodyStyle : 'padding:0px 0px 0px 5px',
			items : [uploadPanel]
		});
	}

})